MailPoet\Segments\WP S

Total Complexity 46
Dependencies 17
Dependents 8
Total lines 286
Lines of code 228
Logical lines of code 114
Comment lines 26
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
createOrUpdateSubscriber()
C
35 27 76
insertSubscribers()
S
49 4 34
synchronizeUser()
S
61 3 11
removeUpdatedSubscribersWithInvalidEmail()
S
60 2 13
deleteSubscriber()
S
71 2 6
updateSubscribersEmails()
S
59 1 15
synchronizeUsers()
S
61 1 13
updateFirstNames()
S
64 1 12
updateLastNames()
S
64 1 12
updateFirstNameIfMissing()
S
65 1 11
__construct()
S
74 1 5
insertUsersToSegment()
S
65 1 10
removeOrphanedSubscribers()
S
63 1 10